<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>定位</title>
	<style type="text/css">
		*{
			margin: 0px;
			padding: 0px;
		}
		.box{
			width: 400px;
			height: 200px;
			background: red url() 0 0 no-repeat;
			position: relative;
			z-index: 4;
		}
		.son{
			width: 50px;
			height: 50px;
			background: blue url() 0 0 no-repeat;
			position: absolute;
			top:10px;
			left: 0px;

		}
		.son1{
			width: 50px;
			height: 50px;
			background: #FFC90E url() 0 0 no-repeat;
			position: absolute;
			left: 40px;
			top: 80px;

		}

		.son2{
			width: 50px;
			height: 50px;
			background: #FF7F27 url() 0 0 no-repeat;
			position: absolute;
			left: 70px;
			top: 300px;

		}
		.top{
			width: 40px;
			height: 200px;
			background: #B5E61D url() 0 0 no-repeat;
			position: fixed;
			bottom:100px;
			right: 0px;
			z-index: 10;
		}
		body{
			height: 6000px;
			background: #A349A4 url() 0 0 no-repeat;
		}
	</style>
</head>
<body>
	<div class="top"></div>
	<div class="box">
		<div class="son">son</div>
		<div class="son1">son1</div>
		<div class="son2">son2</div>
	</div>

</body>
</html>